package com.fancymusic.service.impl;

import com.fancymusic.dao.IMusicTypeDao;
import com.fancymusic.entity.MusicType;
import com.fancymusic.service.IMusicTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MusicTypeServiceImpl implements IMusicTypeService {

    @Autowired
    IMusicTypeDao iMusicTypeDao;
    @Override
    public List<MusicType> getMusicType() {
        return iMusicTypeDao.getMusicType();
    }
}
